package org.contato.service.impl;

import org.contato.dao.PerfilDAO;
import org.contato.entity.Perfil;
import org.contato.service.PerfilService;
import org.sharkness.business.support.ModelServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@SuppressWarnings("serial")
@Service(value = "perfilService")
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class PerfilServiceImpl extends ModelServiceImpl<Perfil, PerfilDAO> implements PerfilService {

	@Autowired
	public void setPerfilDAO(PerfilDAO perfilDAO) {
		setDefaultDAO(perfilDAO);
	}
	
}